import { useEffect } from "react";

type EffectCallback = () => void;

export default function useEffectOnce(cb: EffectCallback) {
  useEffect(cb, []);
}
